#ifndef DRV_RTC_H
#define DRV_RTC_H	    

#include "sys.h"
#include "time.h"


uint8_t rtc_init(void);        
static void set_rtc_time_stamp(time_t time_stamp);
time_t get_rtc_timestamp(void);
void set_date(uint32_t year, uint32_t month, uint32_t day);
void set_time(uint32_t hour, uint32_t minute, uint32_t second);
void date(void);
void rtc_modfiy_date(uint32_t year, uint32_t month, uint32_t day, uint32_t hour, uint32_t minute, uint32_t second);






#endif


